package com.lu.plate.demo.base

import android.content.Context
import android.util.Log
import com.bumptech.glide.GlideBuilder
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule
import com.lu.plate.demo.BuildConfig
import java.lang.reflect.InvocationHandler
import java.lang.reflect.Method
import java.lang.reflect.Proxy

@GlideModule
open class ApplicationGlideModule : AppGlideModule() {
    override fun applyOptions(context: Context, builder: GlideBuilder) {
//        if (BuildConfig.DEBUG) {
//            builder.setLogLevel(Log.VERBOSE)
//        }
        super.applyOptions(context, builder)
    }
}